-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[ENH] Implemented a component for uploading and previewing the data table #38
Conversation
✅ Deploy Preview for staging-annotation ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #38 +/- ##
==========================================
- Coverage 88.09% 80.48% -7.61%
==========================================
Files 12 17 +5
Lines 42 123 +81
Branches 7 17 +10
==========================================
+ Hits 37 99 +62
- Misses 5 24 +19
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey @rmanaem, thanks a lot for the PR. Looks very good, really liking the UI!
I have to main asks:
- Let's split responsibility for upload and data between the components. Ideally this also means lifting the responsibility for parsing and restructuring the uploaded data out of the components and either into the store or into a dedicate function because that should facilitate testing a whole lot
- There is currently a bug where the datatable is not visible after navigating away from the upload page. I believe this bug will be both very obvious and very easy to fix once we do the concern split. But to be safe, let's include a test for it
- Implemented `FileUploader` and `DataTablePreview` components
Hey @surchs, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @rmanaem, this looks great. Left one comment you wanted to look at and then 🧑🍳
Checklist
This section is for the PR reviewer
[ENH]
,[FIX]
,[REF]
,[TST]
,[CI]
,[MNT]
,[INF]
,[MODEL]
,[DOC]
) (see our Contributing Guidelines for more info)skip-release
(to be applied by maintainers only)Closes #XXXX
For new features:
For bug fixes: